package com.chixing.day01_syntax;

public class ZuoYe0718 {
    public static void main(String[] args) {
//               *********		1   9 0
//                *******		2	7 1
//                 *****		3	5 2
//                 ***			4	3 3
//                  *			5	1 4
        //行数
        int count = 9;
        for (int i = 1; i <=5 ; i++) {

            //输出空格
            for (int k = 1; k <=i-1 ; k++) {
                System.out.print(" ");
            }

            //输出星星
            for (int j = 1; j <=count ; j++) {
                System.out.print("*");
            }


            count-=2;
            System.out.println();
        }
    }





    }




